/*
 * Created by IntelliJ IDEA.
 * User: rousseau
 * Date: Apr 20, 2002
 * Time: 5:40:22 PM
 * To change template for new interface use 
 * Code Style | Class Templates options (Tools | IDE Options).
 */
package org.jfract.util;

/**
 * Intreface that gives the completion progress
 */
public interface CompletionListener
{
  /**
   * A completion event arrives
   * 
   * @step the completion step
   * @max the number of step
   */
  public void completionEventPerformed(int step, int max);

  public void newImageComputed(int[] resultColor, int xoffset, int yoffset,
      int width, int height, boolean lastPartialImage);
}
